package com.jichaoyun.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @TableName fault
 */
@TableName(value ="fault")
@Data
public class Fault implements Serializable {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("上传这里为null")
    private Integer id;

    @ApiModelProperty("上传这里为null")
    private String num;

    private String site;

    private String lineName;

    private String type;

    private String description;

    private String status;

    private String uploadMan;

    @ApiModelProperty("上传这里为null")
    private LocalDateTime uploadTime;

    @ApiModelProperty("上传这里为null")
    private String operate;

    @ApiModelProperty("上传这里为null")
    private Boolean isRead;

    @TableField(exist = false)
    @ApiModelProperty("上传这里为null")
    private List<String> picNameList;

    @TableField(exist = false)
    @ApiModelProperty("这里是处理上传的图片，上传这里为null")
    private List<String> operatePicNameList;

    @ApiModelProperty("处理时间")
    private LocalDateTime operateTime;

    @ApiModelProperty("处理人")
    private String operatePeople;

    @ApiModelProperty("处理信息")
    private String operateInfo;

    private static final long serialVersionUID = 1L;
}